package com.ccys.common.third.pubnub;

import lombok.Data;

/**
 * @Author：XLY
 * @Date：2024/3/7 0007
 */
@Data
public class Message {

    private String timetoken;

    private String uuid;

    private MessageContent message;

    @Data
    public static class MessageContent {
        private String content;

        private String type;

        private File file;
    }


    @Data
    public static class File {
        private String name_s3;

        private String name;

        private String url;

        private boolean is_mood_log;

        private long height;

        private long width;

        private String url_thumb;

        private String id;
    }
}
